package com.truyen.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.truyen.persistence.dao.LogAccountDao;
import com.truyen.persistence.entity.LogAccount;
import com.truyen.service.LogAccountService;


@Service
public class LogAccountServiceImpl implements LogAccountService {
	
	@Autowired
	private LogAccountDao logAccountDao;

	@Override
	public void save(LogAccount entity) {
		logAccountDao.save(entity);
	}

	@Override
	public LogAccount findById(Long id) {
		return logAccountDao.findById(id);
	}

	@Override
	public List<LogAccount> getAll() {
		return logAccountDao.findAll();
	}


}
